﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common;

namespace AnesSystem
{
    public class CommonComboboxItemModel:ObservableObject
    {

        private string display = "";
        private string behind = "";
        private bool isSelected = false;

        public string Display
        {
            get
            {
                return display;
            }

            set
            {
                display = value;
            }
        }

        public string Behind
        {
            get
            {
                return behind;
            }

            set
            {
                behind = value;
            }
        }

        public bool IsSelected
        {
            get
            {
                return isSelected;
            }

            set
            {
                isSelected = value;
                RaisePropertyChanged("IsSelected");
            }
        }

        public override string ToString()
        {
            return display;
        }
    }
}
